package cn.adkii.springframework.test.bean;

import org.omg.CORBA.PRIVATE_MEMBER;

/**
 * @author malingdi
 * @description
 * @date 2023/11/21 15:05
 */
public class UserService {

    private String uId;
    private UserDao userDao;

    public void queryUserInfo() {
        System.out.println("查询用户信息:" + userDao.queryUserName(uId));
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
